package lesson2;

public class Demo2 {
    public static void main(String[] args) {
//        Byte b1 = 100;
//        byte b11 = b1;
//        System.out.println(b1+b11);
        //Byte b1 = 127;
        Byte b1 = Byte.valueOf((byte)127);
        Byte b2 = 127;
        System.out.println(b1 == b2);
        byte b11 = b2;

        //Short s1 = 111;
        Integer integer;
        Short s1 = Short.valueOf((short)111);
        short s11 = s1;
        System.out.println("***************");
        Character c1 = 'c';
        char c11 = c1;
        System.out.println(c1+100);
        System.out.println("*******************");
        Long l1 = 100l;
        long l11 = l1;
        System.out.println("******************");
        Integer int11 = 100;
        Byte byte11 = 100;
        Short s111 = 100;
        //System.out.println(int11 == byte11);
        System.out.println("********************");
        Float f11 = 3.14f;
        Float f12 = 3.14f;
        System.out.println(f11 == f12);
        int result = f11.compareTo(f12);
        if(result == 0){
            //f11 == f12
        }

        if(result > 0){
            //f11 > f12;
        }

        if(result < 0){
            //f11 < f12
        }

        Double double11 = 123.345;
        Boolean boolean1 = Boolean.valueOf(false);
        Boolean boolean2 = false;
        System.out.println(boolean1 == boolean2);

        boolean b1111 = boolean1;





    }
}
